<template>
  <div class="box">
      <h2>父传子，数据验证器</h2>
      <v-child :age="20" :tel="tel"></v-child>
      <v-child :age="131" :tel="tel"></v-child>
  </div>
</template>

<script>

// let age = 20
// let age = '20'

import vChild from './child.vue'
export default {
  components:{
    vChild
  },
  data(){
    return {
      tel:'15811112222'
    }
  }
}
</script>

<style scoped>

</style>